<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="static/css/common.css"/>
<title>欢迎登录</title>
</head>
<body>

  <table align="center" width="500px">
  	<form action="${pageContext.request.contextPath}/admin?action=login" method="post">
  	<div align="right"><a href="${pageContext.request.contextPath}/register.jsp">新用户注册</a></div>
  	<caption><h3>用户登录</h3></caption>
  	
  	<tr>
  		<th>用户名</th>
  		<td><input type="text" name="name"/></td>
  	</tr>
  	
  	<tr>
  		<th>密码</th>
  		<td><input type="password" name="password"/></td>
  	</tr>
  	
  	<tr align="center">
  		<td colspan="2">
  			<input type="submit" value="登 录"/>
  			<input type="reset" value="重 置"/>
  			<span class="error">${msg}</span>
  		</td>
  	</tr>
  	
  	</form>
  </table>
    

</body>
</html>